/******************************************************************/
/*                                                                */
/*  Winpooch : Windows Watchdog                                   */
/*  Copyright (C) 2004  Benoit Blanchon                           */
/*                                                                */
/*  This program is free software; you can redistribute it        */
/*  and/or modify it under the terms of the GNU General Public    */
/*  License as published by the Free Software Foundation; either  */
/*  version 2 of the License, or (at your option) any later       */
/*  version.                                                      */
/*                                                                */
/*  This program is distributed in the hope that it will be       */
/*  useful, but WITHOUT ANY WARRANTY; without even the implied    */
/*  warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR       */
/*  PURPOSE.  See the GNU General Public License for more         */
/*  details.                                                      */
/*                                                                */
/*  You should have received a copy of the GNU General Public     */
/*  License along with this program; if not, write to the Free    */
/*  Software Foundation, Inc.,                                    */
/*  675 Mass Ave, Cambridge, MA 02139, USA.                       */
/*                                                                */
/******************************************************************/

// module's interface
#include "Language.h"
#include "Version.h"

// standards headers
#include <assert.h>


static LPCTSTR aStrings[__STRID_COUNT] = 
  {
    TEXT("English"),
    TEXT("English"),
    TEXT("Shutdown"),
    TEXT("The file \"%s\" has been added"),
    TEXT("The file \"%s\" has been removed"),
    TEXT("The file \"%s\" has been modified"),
    TEXT("The file \"%s\" has been renamed"),
    TEXT("\"%s\" is the new name of this file"),
    TEXT("The file \"%s\" in \"%s\" has been altered"),
    TEXT("Failed to watch directory \"%s\""),
    TEXT("The registry key \"%s\" has been modified"),
    TEXT("Invalid root of key \"%s\""),
    TEXT("Invalid key \"%s\""),
    TEXT("Start watching key \"%s\""),
    TEXT("Stop watching key \"%s\""),
    TEXT("Start watching directory \"%s\""),
    TEXT("Stop watching directory \"%s\""),
    TEXT("Disable"),
    TEXT("Enable"),
    TEXT("View log"),
    TEXT("About " APPLICATION_NAME),
    TEXT(APPLICATION_NAME " version " APPLICATION_VERSION_STRING 
	 ", Copyright (C) 2004 Benoit Blanchon\n\n" 
	 APPLICATION_NAME " comes with ABSOLUTELY NO WARRANTY.\n"
	 "This is free software, and you are welcome "
	 "to redistribute it under certain conditions.\n"
	 "For details, please read LICENCE text file provided with this software."),
    TEXT("Winpooch is already running")
  } ;


BOOL Language_Init ()
{
  return TRUE ;
}


VOID Language_Uninit ()
{

}

LPCTSTR Language_GetString (STRID id)
{
  assert (id>=0) ;
  assert (id<__STRID_COUNT) ;
  
  return aStrings[id] ;
}
